﻿using System.Collections.ObjectModel;
using MaxStoreErp.Core.Commands;
using MaxStoreShop.Core.EditorBase;
using MaxStoreShop.Domain.Directories;
using MaxStoreShop.Domain.Shop;

namespace MaxStoreShop.ShopModule.DebtorRules.DebtorRuleEditor
{
    internal class DebtorRuleEditorViewModel : EditorViewModelBase<DebtorRule>
    {
        public RelayCommand AddCharacterCommand { get; set; }

        ObservableCollection<Character> _characters;

        public ObservableCollection<Character> Characters
        {
            get { return _characters; }
            set { OnPropertyChanged(ref _characters, value, "Characters"); }
        }
    }
}
